/**
  ******************************************************************************
  * @file    main.c
  * @author  swf
  * @version V1.0
  * @date    2025
  * @brief   标准库模板
  ******************************************************************************
  * @attention
  *
  * 
  *
  ******************************************************************************
  */
#include "stm32f10x.h"
#include "delay/bsp_delay.h"
#include "led/gpio_led.h"



int main(void) 
{   
   uint32_t time_temp=1000;
   Led_Config();
    while(1)
    {
        //开红(R)灯
       R_LED_ON_ONLY;
       Rough_delay_Ms(time_temp);
        //开绿(G)灯
       G_LED_ON_ONLY;
       Rough_delay_Ms(time_temp);
        //开蓝(B)灯
       B_LED_ON_ONLY;
       Rough_delay_Ms(time_temp);
       
       for(uint16_t i=0;i<3;i++){
           //开灯
           ALL_LED_ON_ONLY;
           Rough_delay_Ms(time_temp);
           //关灯
           ALL_LED_OFF_ONLY
           Rough_delay_Ms(time_temp);
       }
    }
}

